package com.baixun.gasentity.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
@ApiModel(description = "视频播放请求参数")
public class VideoPlaybackDTO {

    @ApiModelProperty(value = "监控点位ID", required = true, example = "1000000")
    private Long pointId;

    @ApiModelProperty(value = "播放协议类型", required = true, example = "rtmp")
    private String protocol;

    // 默认构造函数
    public VideoPlaybackDTO() {}

    // 带参构造函数
    public VideoPlaybackDTO(Long pointId, String protocol) {
        this.pointId = pointId;
        this.protocol = protocol;
    }
}
